package com.wjjun.base.widget.status

/**
 * 状态
 * author : wangjunjun
 * date   : 2022/6/25
 * desc   :
 */
inline class Status(private val status: Int) {

    public fun getStatus() = status

    companion object {
        public val LOADING = Status(0)
        public val EMPTY = Status(100)
        public val SUCCESS = Status(200)
        public val PERMISSION = Status(300)
        public val ERROR = Status(400)
    }
}